package com.itheima.anno;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component("myAspect")
@Aspect  //标注当前myAspect是一个切面
public class MyAspect {
    //前置增强
    @Before(value = "")
    public void befor(){
        System.out.println("前置增强");
    }
}
